package org.edu.modules.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.edu.modules.base.entity.VeBaseAppManage;

@Mapper
public abstract interface VeBaseAppManageMapper extends BaseMapper<VeBaseAppManage> {
    public abstract int getAppManageAllListNum(String appName, String isEnable);

    public abstract List<VeBaseAppManage> getAppManageAllList(String appName, String isEnable);

    public abstract List<VeBaseAppManage> getAppManageAllListByUserId(@Param("userId") String userId, @Param("isEnable")String isEnable);

    public abstract List<VeBaseAppManage> getAppManagePageList(String appName, String isEnable, Integer startIndex, Integer pageSize);

    public abstract List<Map<String, Object>> serviceGroupAppManageAllList(VeBaseAppManage veBaseAppManage);

    public abstract List<Map<String, Object>> serviceGroupAppManagePageList(VeBaseAppManage veBaseAppManage);

    //public abstract int deleteServiceGroupAppManage(String groupId);

    //public abstract int serviceGroupAppManageAdd(String groupId, String[] appId);

    public abstract VeBaseAppManage getAppManageByName(String id, String appName);
}
